package com.project.poetry.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.poetry.service.entity.dto.comment.ForumCommons;
import com.project.poetry.service.entity.po.common.CommentPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author mengxj
 */
public interface CommentMapper extends BaseMapper<CommentPO> {

    List<ForumCommons> getCommonsByForum(@Param("forumId") Long forumId);
}
